package com.schoolcloud.social.service;

import com.schoolcloud.social.entity.SocBardFollow;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author hongmizfb
* @description 针对表【soc_bard_follow(贴吧关注表)】的数据库操作Service
* @createDate 2025-02-20 15:49:48
*/
public interface SocBardFollowService extends IService<SocBardFollow> {

    Long getFollowerCountByUserId(String userId);

    Long getFollowerCountByBardId(String bardId);

    boolean isFollow(String bardId, String user);

    List<Integer> getFollowBardByUserId(String userId);

    List<SocBardFollow> getUserListByBardId(String bardId);

    void deleteFollow(SocBardFollow socBardFollow);
}
